<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta charset="utf-8">
        <title>Venedor - Responsive eCommerce Template</title>
        <meta name="description" content="Responsive modern ecommerce Html5 Template">
        <!--[if IE]> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <![endif]-->
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="copyright" content="<?php echo $GLOBALS['lng']['copyright'] ?>" />
        <meta property="og:description" content="<?php echo $GLOBALS['cfg']['site_des'] ?>" />
        <meta property="og:title" content="<?php echo $GLOBALS['cfg']['site_title'] ?>" />
        <meta property="og:image" content="<?php echo $GLOBALS['cfg']['image'] ?>" />
        <meta name="keywords" content="<?php echo $GLOBALS['cfg']['site_keyword'] ?>" />
        <meta name="description" content="<?php echo $GLOBALS['cfg']['site_des'] ?>" />
        <base href="<?php echo base_url() ?>">
        <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic%7CPT+Gudea:400,700,400italic%7CPT+Oswald:400,700,300' rel='stylesheet' id="googlefont">
        <link rel="stylesheet" href="resources/css/bootstrap.min.css">
        <link rel="stylesheet" href="resources/css/font-awesome.min.css">
        <link rel="stylesheet" href="resources/css/prettyPhoto.css">
        <link rel="stylesheet" href="resources/css/colpick.css">
        <link rel="stylesheet" href="resources/css/revslider.css">
        <link rel="stylesheet" href="resources/css/owl.carousel.css">
        <link rel="stylesheet" href="resources/css/responsive.css">
        <link rel="stylesheet" href="resources/css/style.css" type="text/css" media="all">
        <link rel="stylesheet" href="resources/css/reset.css" type="text/css" media="all">
        <link rel="stylesheet" href="resources/css/royalslider.css" type="text/css" media="all">
        <link rel="stylesheet" href="resources/css/stickytooltip.css" type="text/css" media="all">
        <link rel="shortcut icon" type="image/ico" href="images/favicon.ico" />
        <script type="text/javascript" src="resources/js/jquery-1.8.3.min.js"></script>
        <script type="text/javascript" src="resources/js/jquery-ui.min.js"></script>
        <script type="text/javascript" src="resources/js/jquery.royalslider.min.js"></script>
        <script type="text/javascript" src="resources/js/hiti.js"></script>
        <script type="text/javascript" src="resources/js/stickytooltip.js"></script>
        <!-- Favicon and Apple Icons -->
        <link rel="icon" type="image/png" href="images/icons/icon.html">
        <link rel="apple-touch-icon" sizes="57x57" href="images/icons/apple-icon-57x57.html">
        <link rel="apple-touch-icon" sizes="72x72" href="images/icons/apple-icon-72x72.html">
        
        <!--- jQuery -->
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
        <script>window.jQuery || document.write('<script src="js/jquery-1.11.0.min.js"><\/script>')</script>
		<!--[if lt IE 9]>
			<script src="js/html5shiv.js"></script>
			<script src="js/respond.min.js"></script>
		<![endif]-->
	    
		<style id="custom-style">
		
		</style>
</head>
<script>
var site_url = '<?php echo base_url() ?>';
var lng_procesing = '<?php echo $GLOBALS['lng']['procesing'] ?>';
var lng_send_contact = '<?php echo $GLOBALS['lng']['send_contact'] ?>';
</script>
<body>
<div id="wrapper">
    	<header id="header">
    		<div id="header-top">
    			<div class="container">
    				<div class="row">
                        <div class="col-md-12">
        					<div class="header-top-left">
        						<ul id="top-links" class="clearfix">
        							<li><a href="login.html" title="Đăng nhập"><span class="top-icon top-icon-user"></span><span class="hide-for-xs">Đăng nhập</span></a></li>
        							<li><a href="register-account.html" title="Đăng kí"><span class="top-icon top-icon-pencil"></span><span class="hide-for-xs">Đăng kí</span></a></li>
        							
        						</ul>
        					</div><!-- End .header-top-left -->
        					<div class="header-top-right">
                                
                                <div class="header-top-dropdowns pull-right">
                                    <div class="btn-group dropdown-money">
                                        <button type="button" class="btn btn-custom dropdown-toggle" data-toggle="dropdown">
                                            <span class="hide-for-xs hide-for-sm">Bảng giá</span>
                                        </button>
                                        
                                    </div><!-- End .btn-group -->
                                    <div class="btn-group dropdown-language">
                                        <button type="button" class="btn btn-custom dropdown-toggle" data-toggle="dropdown">
                                            
                                            <span class="hide-for-xs hide-for-sm">Cách thức thanh toán</span>
                                        </button>
                                        
                                    </div><!-- End .btn-group -->
                                </div><!-- End .header-top-dropdowns -->
                                

    						</div><!-- End .header-top-right -->
    					</div><!-- End .col-md-12 -->
    				</div><!-- End .row -->
    			</div><!-- End .container -->
    		</div><!-- End #header-top -->
    		
    		<div id="inner-header">
    			
    			<div id="main-nav-container">
    				<div class="container">
    					<div class="row">
    						<div class="col-md-12 clearfix">
    							<div id="menu-wrapper" class="clearfix">
                                    <div class="logo-container">
                                    <h1 class="logo clearfix">
                                        <span>Responsive eCommerce Template</span>
                                        <a href="index.html" title="Venedor eCommerce Template"><img src="resources/images/logo.png" alt="Venedor Commerce Template" width="184" height="60"></a>
                                    </h1>
                                </div><!-- End .logo-container -->
                                <div id="menu-right-side" class="clerfix">
                                
                                    <nav id="main-nav">
                                        <div id="responsive-nav">
                                            <div id="responsive-nav-button">
                                                Menu <span id="responsive-nav-button-icon"></span>
                                            </div><!-- responsive-nav-button -->
                                        </div>
                                        <ul class="menu clearfix">
                                        
                                      
                                        
 <!--bg loop cate -->
           <?php
               if (is_array($categories_menu) && count($categories_menu))
               {
                   foreach ($categories_menu as $menu)
                   {
                       if ($menu['parent'] == 0)
                       {
                           echo '<li class="level0 level0-1030976 first">';
                           echo '<a  class="active" href="./danh-muc/'.$menu['id'].'-'.$menu['keyword'].'.html">'; //moi them
                           echo '<span>'.$menu['name'].'</span>';
                           echo '</a>';
                           if ($menu['chirld'])
                           {
                               ?>
                               <ul style="display: none;">
                                   <?php
                                   foreach ($categories_menu as $submenu)
                                   {
                                       if ($submenu['parent'] == $menu['id'])
                                       {
                                           ?>
                                           <li class="level1 level1-1030977 first"><a href="./danh-muc/<?php echo $submenu['id'] ?>-<?php echo $submenu['keyword'] ?>.html"><?php echo $submenu['name'] ?></a></li>
                                       <?php
                                       }
                                   }
                                   ?>
                               </ul>
                           <?php
                           }
                           echo '</li>';
                       }
                   }
               }
               ?>
           <!--ed loop -->
                                        
                                            <li><a href="contact.html">LIÊN HỆ</a></li>
                                            
                                        </ul>
                                        
                                    </nav>
                                </div><!-- End #menu-right-side -->
                                </div><!-- End #menu-wrapper -->
    							
    						</div><!-- End .col-md-12 -->
    				</div><!-- End .row -->
    			</div><!-- End .container -->
    				
    			</div><!-- End #nav -->
    		</div><!-- End #inner-header -->
    	</header><!-- End #header -->

